====== Integrating TinyURL with DokuWiki ====== To automatically create a short URL for every page, just integrate the following snippet in your template (e.g. in ''lib/tpl/footer.html''). This will query the TinyURL API and display a link in the footer of your wiki. get('http://tinyurl.com/api-create.php?url='.rawurlencode(wl($ID,'',true))); echo '

TinyURL: '.$turl.'

'; ?>
FIXME enhance this to add caching.